import http from '@/utils/http'
 //获取地址列表
export const getAddressApi = async (data)=>{
    let url = '/api/addresslist'
    return http.get(url,{params:data})
}
//添加收货地址
export const addAddressApi = async (data)=>{
    let url = '/api/addressadd'
    return http.post(url,data)
}